package com.nc.shop.service.model.dto;

import com.nc.shop.service.model.entity.ShopEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 创建人:    xvzhe
 * 创建时间:
 * 修改时间:
 * 版本:      v1.0
 */
@Data
public class CarDto {
    private String id;

    String userId;

    String userName;

    ShopEntity shopEntity;

    Integer number;

    BigDecimal price;

    @ApiModelProperty("总价")
    BigDecimal money;

    private Date createTime;

    private Date modifiedTime;
}
